poem = [
    "柳宗元",
    "千山鸟飞绝",
    "万径人踪灭",
    "孤舟蓑笠翁",
    "独钓寒江雪"
]
for str in poem:
    print("|%s|" % str.center(10, " "))
for str in poem:
    # 向左对齐
    print("|%s|" % str.ljust(10, " "))
for str in poem:
    # 向右对齐
    print("|%s|" % str.rjust(10, " "))
